package com.example.eduservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.eduservice.entity.EduCourse;
import com.example.eduservice.entity.frontvo.CourseDetailInfoVO;
import com.example.eduservice.entity.vo.CoursePublishVO;

/**
* @author Com_T
* @description 针对表【edu_course(课程)】的数据库操作Mapper
* @createDate 2024-01-18 08:48:32
* @Entity com.example.eduservice.entity.EduCourse
*/
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    /**
     * 根据课程id查询课程发布信息
     * @param courseId
     * @return
     */
    CoursePublishVO selectCoursePublishVOByCourseId(String courseId);

    CourseDetailInfoVO selectCourseDetailInfoById(String id);
}




